<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/webpage/common/taglibs.jspf"%>
<!DOCTYPE html>
<html>
<head>
    <title>驳回任务</title>
    <meta name="decorator" content="form"/> 
    <script type="text/javascript" src="${staticPath}/common/js/initSelect.js"></script>
</head>

<body class="white-bg"  formid="actReTypeForm">
    <form:form id="actReTypeForm"  modelAttribute="data" method="post" action="${adminPath}/activiti/flow/backProcess" class="form-horizontal">
		<form:hidden path="id" nested="false"/>
		<form:hidden path="taskId" nested="false" defaultValue="${param.taskId}"/>
		<table  class="table table-bordered  table-condensed dataTables-example dataTable no-footer">
		   <tbody>
			  <tr>
		          <td  class="width-15 active text-right">	
		              <label><font color="red">*</font>活动节点:</label>
		         </td>
		         <td class="width-35" >
		   				<form:select path="targetTaskDef" nested="false" class="form-control"></form:select>
		             <label class="Validform_checktip"></label>
		         </td>
		      </tr>
				<tr>
					<td  class="width-15 active text-right">	
		              <label>驳回原因:</label>
		            </td>
					<td class="width-35" colspan="3">
						<form:textarea path="reason" htmlEscape="false" nested="false" class="form-control" cols="6"     />
						<label class="Validform_checktip"></label>
					</td>
		  		</tr>		      
		   </tbody>
		</table>   
	</form:form>
	<script type="text/javascript">
		$(function initActDef(){
			var data = ${list};
			initSelectByData('targetTaskDef',data,null,'id','name');
		});
	</script>
</body>
</html>